//
//  WBReg02Model.m
//  WeatherBar
//
//  Created by Bert on 2024/6/19.
//

#import "WBReg02Model.h"

@interface WBReg02Model ()
//reg02 注册成功上报的设备信息。首次登录成功上报
@property (nonatomic ,copy) NSString *appver;
@property (nonatomic ,copy) NSString *ipV4;
@property (nonatomic ,copy) NSString *ipV6;
@property (nonatomic ,copy) NSString *networkType;
@property (nonatomic ,copy) NSString *routerMac;
@property (nonatomic ,copy) NSString *version;
@property (nonatomic ,copy) NSString *wifimac;
@end

@implementation WBReg02Model

+ (NSDictionary *)wb_getParameter {
    WBReg02Model *var_model = [[self alloc] init];
    NSDictionary *var_dic = [var_model model_keyValues];
    return var_dic;
}

- (void)wb_config {
    self.mid = @"REG02";
    self.appver = self.swv;
    self.ipV4 = [WBIPTool wb_getIPV4];
    self.ipV6 = [WBIPTool wb_getIPV6];
    self.networkType = [UIDevice wb_getNetworkType];
    self.routerMac = [UIDevice wb_macaddress];
    self.version = self.swv;
    self.wifimac = [UIDevice wb_macaddress];
}

@end
